package com.heima.search.repository;

import com.heima.search.entity.ApArticleSearch;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface ArticleSearchRepository extends ElasticsearchRepository<ApArticleSearch, Long> {

    List<ApArticleSearch> findByTitleContains(String title);
}
